﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
    <head>
        <title>Hello World!</title>
    </head>
    <body>
       <form method="POST" enctype="multipart/form-data" action="/upload"> 
           <p>文件：<input type="file" name="file" /></p>
           <p><input type="submit" value="上传" /></p>
       </form>
       
       
       
       
       <p>多文件上传</p>
<form method="POST" enctype="multipart/form-data" action="/batch/upload">
    File to upload: <input type="file" name="file"></input><br/>
    File to upload: <input type="file" name="file"></input><br/>
    <input type="submit" value="Upload"></input>
    Press here to upload the file!
</form>
    </body>
</html>